<?php
include_once("db_conect.php");
$qry = "select * from usuario where eliminado = 0 order by nombre ASC";
$res = mysql_query($qry,$conexion) or die(mysql_error());
echo "<table cellpadding=\"5\"><thead><th>Nombre</th><th>Password</th><tr></thead><tbody>";
$clase="even";
while ($row = mysql_fetch_array($res, MYSQL_ASSOC)) {
	echo "<tr class=$clase>";
	echo "<td>".$row["nombre"]."</td><td>".$row["password"]."</td>";
	echo "</tr>";
	if($clase=="even"){$clase="odd";} else { $clase="even";}
}
echo "</tbody></table>";
mysql_free_result($res);
mysql_close($conexion);
?>